import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

import Antd from 'ant-design-vue'
import 'ant-design-vue/dist/antd.css';
Vue.use(Antd)

//全局引入基础样式库
import './assets/css/format.less'
import './assets/css/wos.less'
//全局配置
import config from '../config.js'
Vue.prototype.$config = config

// 引入全局的自定义组件
import wosTable from './components/wos-table'
Vue.use(wosTable)
import ipInput from './components/ip-input'
Vue.use(ipInput)
import wosVideo from './components/wos-video'
Vue.use(wosVideo)

//axios全局化
import axios from 'axios'
import VueAxios from 'vue-axios'
Vue.use(VueAxios,axios);

//全局混入
import { globalMixins } from './mixins/global.js'
Vue.mixin( globalMixins )

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
